package com.lianda.mutiple.pattern.future;

public interface Future<T> {

    //获取计算结果
    T get() throws InterruptedException;

    //任务是否完成
    boolean done();
}
